
<%--
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>学生自测子系统--登录</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <link rel="stylesheet" type="text/css" href="css/index.css" />
      <script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>


      <script type="text/javascript" src="js/jquery-2.0.0.js"></script>

    <script type="text/javascript">
   $(function(){

   	$("#vcodealidate").css({"cursor":"pointer"});
   	$("#vcodealidate").click(function(){
   		$("#vcodeimg").attr("src","validate.image?r="+new Date().getTime());
   	});
   });

   <c:if test="${sessionScope.loginUser eq null}">
	$(function(){
	$("#loginFailModal").modal();
	});
   </c:if>


    </script>

   <style type="text/css">
	   body {
		  /* background: url("images/image3.jpg");*/
	   }
	   .form{background: rgba(254,254,254,1);width:400px;margin:120px auto;}
	   /*阴影*/
	   .fa{display: inline-block;top: 27px;left: 6px;position: relative;color: #ccc;}
	   input[type="text"],input[type="password"]{padding-left:26px;}

       .invalid{
       	margin-left:-100px;
       	color:red;
       	font-size:12px;
       	font-weight:normal;
       }
       .invalid-code{
       	margin-left: 2px;
       	font-style: italic;
       }
   </style>
 </head>
  <%--a6e1ec 4d9ff--  style="background-color: #d3e4f7"--%>
  <body style="background-color: #d3e4f7">
  <div class="container">
      <img class="bgone" src="images/1.jpg" />
      <img class="pic" src="images/login.png" />
	  <div class="form row">
		  <div class="form-horizontal col-md-offset-3" id="login_form" style="margin-left: 70px">
                  <div class="table">
                      <div class="wel">学生自测子系统登录</div>
                      <div class="wel1"> XUE SHENG ZI CE ZI XI TONG DENG LU</div>
                      <div class="col-md-9" style="font-family:Calibri;font-weight:bold;">

                          <form action="users/login" method="post" class="form-horizontal" role="form" >

                              <div class="form-group">
                                  <div class="input-group input-group-sm">
                                      <div class="user">
                                          <div id="yonghu" style=""><img src="images/yhm.png" /></div>
                                          <input type="text" name="sstsNo" placeholder="请输入用户名" />
                                      </div>
                                  </div>
                              </div>
                              <div class="clearfix"></div>

                              <div class="form-group">
                                  <div class="input-group input-group-sm">
                                      <div class="password">
                                          <div id="yonghu"><img src="images/mm.png" /></div>
                                          <input type="password" class="form-control" id="password" name="password" placeholder="请输入密码">
                                      </div>
                                  </div>
                              </div>
                              <div class="form-group" >
                                  <div class="input-group input-group-sm">
                                      <div class="inpt">
                                          <input type="radio" value="0" checked name="userType" onclick="this.form.action='users/studentLogin'">&nbsp;学生&nbsp;&nbsp;&nbsp;
                                          <input type="radio" value="1" name="userType" onclick="this.form.action='users/teacherLogin'" style="margin-left: 20px">&nbsp;教师&nbsp;
                                      </div>
                                  </div>
                              </div>
                              <!-- btn-block 让元素占满 -->
                              <button type="submit" class="btn btn-primary btn-md login-btn-sumbit ">&nbsp;登录&nbsp;</button>&nbsp;&nbsp;
                          </form>
			  </div>
		  </div>
	  </div>
  </div>

  </body>
</html>